MultiSafepay\WooCommerce\PaymentMethods\PaymentMethodsController S

Total Complexity 48
Dependencies 13
Dependents 1
Total lines 289
Lines of code 168
Logical lines of code 107
Comment lines 88
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
filter_gateway_per_min_amount()
A
55 8 18
generate_orders_from_backend()
S
49 7 29
process_post_notification()
S
51 5 25
filter_gateway_per_country()
S
63 6 9
set_multisafepay_transaction_as_shipped()
S
58 3 15
set_multisafepay_transaction_as_invoiced()
S
58 3 15
callback()
S
63 4 9
multisafepay_transaction_order_id()
S
66 3 9
allow_cancel_multisafepay_orders_with_on_hold_status()
S
63 3 10
enqueue_styles()
S
72 2 5
replace_checkout_payment_url()
S
68 2 7
multisafepay_register_rest_route()
S
62 1 13
get_woocommerce_payment_gateways()
S
75 1 4